package com.zj.docker.service;

import com.zj.docker.domain.Volumes;
import com.zj.docker.vo.VolumesVo;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @Auther: zj
 * @Date: 2018/12/11 16:29
 * @Description:
 */
public interface VolumesService {

    Volumes SelectOneByVolumeName(String name);

    Page<Volumes> SelectAllByContainerId(String containerId,Integer pageIndex);

    List<Volumes> SelectAllByContainerId(String containerId);

    List<VolumesVo> SelectAllVolumesByAuthor(String author);

    Page<Volumes> SelectAllVolumes(Integer pageIndex);

    List<Volumes> SelectAllVolumes();

}
